package sonic.game;
import javax.swing.JFrame;

/**
 * Main Window
 * 
 * Entry point. Creates a new frame and starts a new game
 * 
 * @author RGreenlees
 *
 */

public class MainWindow extends JFrame
{

	private static final long serialVersionUID = 1L;

	@SuppressWarnings("unused")
	public MainWindow()
	{
		this.setTitle("Side Scroller");
		this.setSize(640, 480);
		Game newGame = new Game(this);
		this.setDefaultCloseOperation(EXIT_ON_CLOSE);
		this.setVisible(true);
	}
	
	@SuppressWarnings("unused")
	public static void main(String[] args)
	{
		MainWindow mainWindow = new MainWindow();
	}

}
